.approve-wrap{
  background: #fff;
  padding-bottom: 1rpx;
  .apr-title{
    padding: 28rpx 20rpx;
    font-size: 32rpx;
    font-weight: bold;
  }
  .apr-main{
    padding: 12rpx 20rpx;
    .apr-item{
      display: flex;

      .apr-item-left{
        display: flex;
        flex-direction: column;
        align-items: center;

        .apr-item-avatar{
          display: flex;
          align-items: center;
          justify-content: center;
          position: relative;
          width: 92rpx;
          height: 92rpx;
          text-align: center;
          font-size: 32rpx;
          color: #fff;
          background: #5d97f7;
          border-radius: 9rpx;
          &.red{
            background: #ff5a5a;
          }
          .icon-success{
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            bottom: 0;
            right: 0;
            width: 1rem;
            height: 1rem;
            -webkit-border-radius: 1rem 1rem 0 1rem;
            -moz-border-radius: 1rem 1rem 0 1rem;
            border-radius: 1rem 1rem 0 1rem;
            background: #fff;
          }
        }
      }
      &:not(:last-of-type){
        .apr-item-left{
          &:after{
            content: "";
            display: block;
            flex: 1;
            margin: 4rpx 0;
            height: 0;
            width: 0;
            border: 2rpx dashed #b2b2b2;
          }
          &.approved{
            &:after{
              border-style: solid;
            }
          }
        }
      }
      .apr-item-content{
        min-height: 168rpx;
        padding-bottom: 20rpx;
        padding-left: 20rpx;
        flex: 1;
        .show-btn-wrap{
        }
        .apr-item-top{
          display: flex;
          justify-content: space-between;
          padding-bottom: 20rpx;
        }
        .apr-item-title{
          font-size: 30rpx;
          font-weight: bold;
        }
        .apr-item-time{
          font-size: 26rpx;
          color: #8f8f8f;
        }
        .apr-item-msg{
          display: flex;
          justify-content: space-between;
          padding-bottom: 20rpx;
          font-size: 28rpx;
          color: #8f8f8f;
          .apr-msg-arrow{
            width: 14rpx;
            height: 14rpx;
            background-color: transparent; /* 模块背景为透明 */
            border-color: #8f8f8f;
            border-style: solid;
            border-width: 4rpx 4rpx 0 0;
            transform: rotate(135deg); /*箭头方向可以自由切换角度*/
            &.open{
              transform: rotate(-45deg);
            }
          }
        }
        .apr-item-signature{
          color: #8f8f8f;
          padding-bottom: 20rpx;
          .img{
            height: 100rpx;
          }
        }
        .apr-sub{
          display: flex;
          flex-wrap: wrap;
          &.hidden{
            display: none;
          }
          .sub-item{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 8rpx 0;
            width: 124rpx;
          }
          .sub-avatar{
            position: relative;
            width: 60rpx;
            height: 60rpx;
            line-height: 60rpx;
            text-align: center;
            font-size: 26rpx;
            color: #fff;
            background: #5d97f7;
            border-radius: 8rpx;
          }
          .sub-name{
            display: inline-block;
            width: 100%;
            overflow:hidden;
            white-space: nowrap;
            -ms-text-overflow: ellipsis;
            text-overflow: ellipsis;
            text-align: center;
          }
        }
        .apr-mark{
          width: 90%;
          padding: 10rpx 20rpx;
          -webkit-border-radius: 8rpx;
          -moz-border-radius: 8rpx;
          border-radius: 8rpx;
          font-size: 26rpx;
          color: #666666;
          background: #f1f6ff;
        }
      }
    }
  }

  //下一审批人
  .next-approval{
    background: #fff;
    padding: 10rpx;
    //margin-bottom: 16rpx;
    //border-top: 2rpx solid #e6e6e6;
    .next-user-wrap{
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      .user-wrap{
        margin-right: 6rpx;
      }
    }
  }
  //下一审批人
  .user-wrap{
    display: flex;
    align-items: center;
    background: #f2f4f3;
    border-radius: 5rpx;
    width: fit-content;
    padding: 6rpx;
    height: 60rpx;
    box-sizing: border-box;
    margin: 6rpx 0;
    position: relative;
    .user-photo{
      background: #9A9A9A;
      font-size:30rpx;
      height: 100%;
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 50rpx;
      border-radius: 4rpx;
      margin-right: 6rpx;
      position: relative;
    }
    .user-name{

    }
    .user-del{

    }

    &.default{
      .user-photo{
        &:after{
          content: '\2714';
          width: 20rpx;
          height: 20rpx;
          border-radius: 50%;
          background: #0251FF;
          position: absolute;
          top: -10rpx;
          right: -10rpx;
          font-size: 10rpx;
          text-align: center;
          line-height: 20rpx;
          color: #ffffff;
        }
      }
    }
    &.danger{
      .user-photo{
        &:after{
          content: '\2551';
          width: 20rpx;
          height: 20rpx;
          border-radius: 50%;
          background: #f31f00;
          position: absolute;
          top: -10rpx;
          right: -10rpx;
          font-size: 10rpx;
          text-align: center;
          line-height: 20rpx;
          color: #ffffff;
        }
      }
    }
  }
  //添加下一审批人按钮
  .user-add{
    height: 60rpx;
    display: flex;
    width: 60rpx;
    justify-content: center;
    align-items: center;
    background: #ebf1fd;
    border-radius: 5rpx;
    color: #4095E5;
  }

  //审批操作
  .apr-operator{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10rpx 0;
    background: #f1f6ff;
  }

  .btn-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 28rpx;
    margin: 0 20rpx;
    .icon-wrap{
      background: #fff;
      padding: 18rpx;
      -webkit-border-radius: 4rpx;
      -moz-border-radius: 4rpx;
      border-radius: 4rpx;
    }
  }
  .m-btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 96rpx;
    height: 66rpx;
    font-size: 32rpx;
    -webkit-border-radius: 8rpx;
    -moz-border-radius: 8rpx;
    border-radius: 8rpx;
    border: 2rpx solid #c5c5c5;
    background: #fff;
    margin: 0 20rpx;
    &.m-btn-dft{
      border-color: #2d6ff7;
      color: #fff;
      background: #2d6ff7;
    }
  }

  .m-smt-btn{
    margin: 20rpx;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 8rpx;
    -moz-border-radius: 8rpx;
    border-radius: 8rpx;
    height: 88rpx;
    text-align: center;
    line-height: 88rpx;
    background: #2d6ff7;
    color: #fff;
  }

  //蒙版
  .popup-mask{
    width: 100%;
    height: 100%;
  }
  //更多操作弹出层
  .apr-more{
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fff;
    padding-bottom: 20rpx;
    .more-content{
      display: flex;
      padding: 20rpx;
      background: #f1f6ff;
    }
    .more-footer{
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 80rpx;
    }
  }

//  确认审批弹出层
  .apr-confirm{
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fff;
    .confirm-header{
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 80rpx;
      .close-btn{
        position: absolute;
        right: 0;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 80rpx;
        height: 80rpx;
      }
      .title{
        font-size: 36rpx;
        font-weight: bold;
      }
    }
    .confirm-main{
      & > textarea{
        width: 100%;
        height: 300rpx;
        padding: 20rpx;
        font-size: 32rpx;
        box-sizing: border-box;
      }
    }
    .confirm-footer{
      padding: 20rpx;
      .confirm-btn{
        width: 100%;
        height: 88rpx;
        line-height: 88rpx;
        text-align: center;
        -webkit-border-radius: 8rpx;
        -moz-border-radius: 8rpx;
        border-radius: 8rpx;
        background: #2d6ff7;
        color: #fff;
      }
    }
  }

  //提交自由审批弹出层
  .approve-submit{
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 60vh;
    background: #fff;

    .header{
      position: relative;
      padding: 20rpx;
      font-size: 32rpx;
      font-weight: bold;
      text-align: center;
      .icon{
        position: absolute;
        right: 0;
        top: 0;
        padding: 20rpx;

      }
    }
    .main{
      flex: 1;
      .li-wrap{
        margin-bottom: 20rpx;
        &.default{
          .li-title{
            .icon-chaosong,.icon-chuizi{
              background: #0251FF;
            }
          }
        }
        &.danger{
          .li-title{
            .icon-chaosong,.icon-chuizi{
              background: #f31f00;
            }
          }
        }
        .li-title{
          display: flex;
          margin-bottom: 10rpx;
          .icon-chaosong,.icon-chuizi{
            color: #ffffff;
            background: #bfc6d0;
            width: 40rpx;
            height: 40rpx;
            border-radius: 50%;
            text-align: center;
            line-height: 40rpx;
            margin-right: 20rpx;
            font-size: 20rpx;
          }
          /*.icon-chuizi{
            width: 40rpx;
            height: 40rpx;
            color: #bfc6d0;
            text-align: center;
            line-height: 40rpx;
            font-size: 46rpx;
            margin-right: 20rpx;

          }*/
          .icon-prev_m{
            transform: rotate(-270deg);
            &.close{
              transform: rotate(-90deg);
            }
          }
          &.required:after{
            content: '*';
            color: #ff0000;
          }
        }
        .li-content{
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          padding-left: 60rpx;
          position: relative;
          .line{
            position: absolute;
            height: 100%;
            width: 1px;
            background: #bfc6d0;
            left: 20rpx;
          }
          & > view:not(.line) + view:not(.line){
            margin-left: 10rpx;
          }
        }
      }

    }
    .footer{
      padding: 20rpx;
      .confirm-btn{
        width: 100%;
        height: 88rpx;
        line-height: 88rpx;
        text-align: center;
        -webkit-border-radius: 8rpx;
        -moz-border-radius: 8rpx;
        border-radius: 8rpx;
        background: #2d6ff7;
        color: #fff;
      }
    }
  }

}

